import { http } from 'jindai-api'

export const fetchList = (params) => http.get('items', { params })

export const fetchRecommends = () => http.get('recommends')

export const fetchCates = (params) => http.get('cates', { params })

export const fetchSetting = () => http.get('setting')

export const fetchBanners = () => http.get('banners')

export const fetchLinks = () => http.get('links')
